<!DOCTYPE html>  
<html lang="en">  
<head>  
<meta charset="UTF-8">  
<meta name="viewport" content="width=device-width, initial-scale=1.0">  
<title>初始标题</title>  
<script>  
  function textquchong(arr){
    return arr.filter(function(item,index,arr){
      return arr.indexOf(item,0)===index;
    });
  }
  const texts = ["富强","富强","富强","倡导自由","倡导自由","公正","公正","敬业","敬业","诚信","友善"];
  console.log(textquchong(texts),'12312313');
  </script>  
</head>  
<body>  
  
<!-- 页面内容 -->  
  
</body>  
</html>